#include "stl.h"
#include "linkedlist.h"
using namespace LinkedList;
#include "solution.h"

int main(int argc, char *argv[]){
    vector<int> testcases[] = {
        { 1,2,3,4,5 },
        { 1,2 },
        {},
    };
    Solution sln;
    for(auto&t:testcases){
        vector<ListNode> vec;
        auto list = Link(t, &vec);
        print("list=", list, "\n")
        print("reverse:", sln.reverseList(list), "\n\n")
    }
    print("\n------ main exit ------\n")
    return 0;
}
